package com.example.a2007dou_shop.net

class Cons {
    companion object{
        const val BASE_URL = "http://10.161.9.80:7012/"
        const val LOGIN_URL = "/api/user/loginname"//登录
        const val REGISTER_URL = "/api/user/register"//注册
        const val SENDRCODE_URL = "/api/sms/sendrcode"//发送注册验证码
        const val CHECKRCODE_URL = "/api/sms/checkrcode"//校验注册验证码
        const val SENDLCODE_URL = "/api/sms/sendlcode"//发送登录验证码
        const val LOGIN_CODE_URL = "/api/user/logincode"//验证码登录
        const val LOGOUT_URL = "/api/user/loginout"//退出登录

        /*const val VIDEO_URL = "/api/video/page"//视频路径
        const val LOVE_URL = "/api/vl/like"//点赞或取消的路径

        const val COMMENTS_URL ="/api/vc/comments"//查询评论接口
        const val SAVECOMMENT_URL = "/api/vc/save"//新增或回复的评论接口*/

        const val VIDEO_URL = "/video/findVideos"//视频路径
        const val FIND_URL = "/video/findVideoByName"//搜索视频路径
        //const val GETCOMMENT = "comment/getCommentByVideoId?videoId=103"//获取评论的路径----？后面是会固定不变的
        const val GETCOMMENT_URL = "comment/getCommentByVideoId"//获取评论的路径
        const val SENDCOMMENT_URL = "/comment/comment"//发送评论的路径


        const val SP_TOKEN = "token"
        const val HEADER_TOKEN = "token"
    }
}